rm -rf /var/www/html/luxury-theme
unzip themeforest-15345250-luxury-premium-fashion-magento-theme.zip -d /var/www/html/luxury-theme
cd /var/www/html
\cp -R luxury-theme/luxury_v1.8/Themes/Magento2.x/upload/app/* m2/app/
\cp -R luxury-theme/luxury_v1.8/Themes/Magento2.x/upload/pub/* m2/pub/
rm -rf m2/app/design/frontend/Mgs/mgsblank/Magento_Checkout
rm -rf m2/app/design/frontend/Mgs/mgsblank/Magento_Customer
rm -rf m2/app/design/frontend/Mgs/luxury/Magento_Checkout
rm -rf m2/app/design/frontend/Mgs/luxury/Magento_Customer
rm -rf m2/app/design/frontend/Mgs/luxury/Magento_Swatches
\cp -R luxury-theme/luxury_v1.8/Themes/Magento2.x/upload/patch_for_magento-v2.1/app/* m2/app/
\cp -R luxury-theme/luxury_v1.8/Themes/Magento2.x/upload/patch_for_magento-v2.1/pub/* m2/pub/
cd m2
php bin/magento module:enable MGS_Mpanel
php bin/magento module:enable MGS_Mmegamenu
php bin/magento module:enable MGS_Portfolio
php bin/magento module:enable MGS_Testimonial
php bin/magento module:enable MGS_Brand
php bin/magento module:enable MGS_Core
php bin/magento module:enable MGS_Promobanners
php bin/magento module:enable MGS_StoreLocator
php bin/magento module:enable MGS_Blog
php bin/magento module:enable MGS_QuickView
php bin/magento module:enable MGS_AdvancedReports
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
rm -rf /var/www/html/luxury-theme
cd /var/www/html/m2;bin/magento indexer:reindex;bin/magento cache:clean;bin/magento cache:flush

